From bf3f5a47a09bfac278c08679bd142869e55df19d Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Wed, 6 Jan 2010 08:18:04 +0000 Subject: [PATCH] tmem: Only enable by default for x86_64 While tmem has gotten limited testing with a 32-bit Xen, it has severe limitations due to 32-bit heap restrictions. So, turn it off by default for 32-bit so nobody accidentally runs into this. Signed-off by: Dan Magenheimer --- xen/common/tmem_xen.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xen/common/tmem_xen.c b/xen/common/tmem_xen.c index b4229b8b3f..ba3f03ca97 100644 --- a/xen/common/tmem_xen.c +++ b/xen/common/tmem_xen.c @@ -14,7 +14,11 @@ #define EXPORT /* indicates code other modules are dependent upon */ +#ifdef __x86_64__ EXPORT int opt_tmem = 1; +#else +EXPORT int opt_tmem = 0; +#endif boolean_param("tmem", opt_tmem); EXPORT int opt_tmem_compress = 0; -- 2.30.2